<template>

  <el-col class="cardCol" :xs={span:24} :span="24/2">
    <div class="grid-content">
      <el-card shadow="always" class="box-card">
        <div class="text item">
          <slot></slot>
        </div>
      </el-card>
    </div>
  </el-col>

</template>

<script>
export default {
  name: "Card",
  data() {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  }
}
</script>

<style scoped>
.item {
  height: 300px;
  overflow: auto;
}

.grid-content {
  margin-bottom: 20px;
}

/*滚动条的宽度*/
::-webkit-scrollbar {
  width: 6px;

}

/*滚动条的滑块*/
::-webkit-scrollbar-thumb {
  background-color: #F37055FF;
  border-radius: 4px;
}

</style>
